Skip to content

feat: add review ci bypass governance finding#21

Merged
CoderDeltaLAN merged 1 commit into
mainfrom
feat/add-review-ci-bypass-finding
Jun 14, 2026
Merged

feat: add review ci bypass governance finding#21
CoderDeltaLAN merged 1 commit into
mainfrom
feat/add-review-ci-bypass-finding

Conversation

@CoderDeltaLAN

Copy link
Copy Markdown
Owner

Summary

Adds AIRK-GOV003, a conservative governance finding for instruction files that appear to encourage bypassing review, CI, branch protection, or safe integration boundaries.

Scope

  • Adds review/CI bypass detection in agent_rules_kit.governance.
  • Introduces find_governance_findings() as a stable aggregator so future governance rules do not get wired into the CLI one by one.
  • Keeps AIRK-GOV006 behavior intact.
  • Adds positive and negative tests for AIRK-GOV003.
  • Adds CLI JSON coverage using the existing risky-instructions fixture.

Verification

  • ./scripts/check.sh
  • JSON smoke for tests/fixtures/repositories/risky-instructions
  • JSON smoke for tests/fixtures/repositories/unsupported-claim
  • clean fixture JSON smoke with finding_count: 0
  • isolated build + wheel install smoke

Product boundary

This does not audit actual GitHub branch protection, CI settings, or repository permissions. It only reports conservative local findings from supported instruction files.

README is intentionally not changed in this phase.

@CoderDeltaLAN CoderDeltaLAN merged commit 06bc110 into main Jun 14, 2026
1 check passed
@CoderDeltaLAN CoderDeltaLAN deleted the feat/add-review-ci-bypass-finding branch June 14, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant